package org.yzh.web.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.yzh.protocol.commons.transform.Attribute;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LocationDO extends BaseDeviceInfo{
    private Integer warningMark;
    private Integer status;
    private Float latitude;
    private Float longitude;
    private Integer altitude;
    private Integer speed;
    private Integer direction;
    private LocalDateTime deviceTime;
    private LocalDate deviceDate;
    private Integer mapFenceId;
    private LocalDateTime createTime;
    private Map<String, Attribute> attributes;
}